import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import { Button, Tabbar, TabbarItem, Col, Row, Toast ,NavBar,Icon  } from 'vant';
import http from '@/network/http'
// 初始化 Bus 事件总线
Vue.prototype.$bus = new Vue()
// 把axios 请求挂载到vue原型上
Vue.prototype.axios = http
Vue.use(Button)
  .use(Tabbar)
  .use(TabbarItem)
  .use(Col)
  .use(Row)
  .use(Toast)
  .use(NavBar)
  .use(Icon)
;
//引入移动端适配插件
import 'lib-flexible'
Vue.config.productionTip = false
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
